#include "main_head.h"
#include "head/Number_left.h"
#include<iostream>
using namespace std;
Number_left::Number_left(GLint _program)
	:Picture(_program) {}

void Number_left::load_coord_and_image() {
	load_image(file_position); 
	load_coord(image_position, indices);
}

GLboolean Number_left::change_number(GLboolean carry) {
	if (carry) {
		if (file_position[8] == '9') {
			return false;
		}
		else file_position[8]++;
	}
	return true;
}